import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import "@/mobile/flexible" // 适配
import "@/styles/reset.css" // 初始化样式
import { Tabbar, TabbarItem, NavBar, Image as VanImage, Col, Row, Cell, CellGroup, Icon, Search } from 'vant';
import axios from '@/utils/request'

Vue.config.productionTip = false
Vue.use(VanImage)
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Col)
Vue.use(Row)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Icon)
Vue.use(Search)

Vue.prototype.$axios = axios

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
